//
//  CTFliterCollectionCell.m
//  ConstellationTalk_0.1
//
//  Created by 韩威 on 15/7/5.
//  Copyright (c) 2015年 riley chu. All rights reserved.
//

#import "CTFliterCollectionCell.h"
#import "CTDebugManager.h"

@interface CTFliterCollectionCell()
{
    UIImageView     *picImageView;
    UILabel         *nameLabel;
}

@end

@implementation CTFliterCollectionCell
- (void)dealloc
{
    [CTDebugManager showDebugLogInfo:@"dealloc : CTEmojiDetailsCollection Is Removed!!!"];
}

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        picImageView = [[UIImageView alloc] initWithFrame:CGRectMake(10, 40, 60, 60)];
//        picImageView.image = [UIImage imageNamed:@"head"];
//        picImageView.backgroundColor = [UIColor blueColor];
        [self addSubview:picImageView];
        
        nameLabel = [[UILabel alloc] initWithFrame:CGRectMake(10, 60+40, 60, 29)];
        nameLabel.font = [UIFont systemFontOfSize:13];
        nameLabel.textAlignment = NSTextAlignmentCenter;
        [self addSubview:nameLabel];
    }
    return self;
}


#pragma mark - setter - 
- (void)setPicImage:(UIImage *)image
{
    picImageView.image = image;
}
- (void)setTitle:(NSString *)strTitle
{
    nameLabel.text = strTitle;
}
@end
